package com.ruoyi.service.service;

import java.util.List;
import com.ruoyi.service.domain.ServiceCancelorderreason;

/**
 * 订单取消原因Service接口
 * 
 * @author ZDL
 * @date 2024-12-25
 */
public interface IServiceCancelorderreasonService 
{
    /**
     * 查询订单取消原因
     * 
     * @param cancelorderreasonId 订单取消原因主键
     * @return 订单取消原因
     */
    public ServiceCancelorderreason selectServiceCancelorderreasonByCancelorderreasonId(Long cancelorderreasonId);

    /**
     * 查询订单取消原因列表
     * 
     * @param serviceCancelorderreason 订单取消原因
     * @return 订单取消原因集合
     */
    public List<ServiceCancelorderreason> selectServiceCancelorderreasonList(ServiceCancelorderreason serviceCancelorderreason);

    /**
     * 新增订单取消原因
     * 
     * @param serviceCancelorderreason 订单取消原因
     * @return 结果
     */
    public int insertServiceCancelorderreason(ServiceCancelorderreason serviceCancelorderreason);

    /**
     * 修改订单取消原因
     * 
     * @param serviceCancelorderreason 订单取消原因
     * @return 结果
     */
    public int updateServiceCancelorderreason(ServiceCancelorderreason serviceCancelorderreason);

    /**
     * 批量删除订单取消原因
     * 
     * @param cancelorderreasonIds 需要删除的订单取消原因主键集合
     * @return 结果
     */
    public int deleteServiceCancelorderreasonByCancelorderreasonIds(Long[] cancelorderreasonIds);

    /**
     * 删除订单取消原因信息
     * 
     * @param cancelorderreasonId 订单取消原因主键
     * @return 结果
     */
    public int deleteServiceCancelorderreasonByCancelorderreasonId(Long cancelorderreasonId);
}
